import request from "@/utils/request";

// 咨询公司客户管理
export function queryKehu(data) {
  return request({
    url: "/wx/user/list",
    method: "get",
    params: data
  });
}
export function addKehu(data) {
  return request({
    url: "/wx/user",
    method: "post",
    data: data
  });
}
export function updateKehu(data) {
  return request({
    url: "/wx/user",
    method: "put",
    data: data
  });
}
export function delKehu(ids) {
  return request({
    url: `/wx/user/${ids}`,
    method: "delete",
  });
}
// 重置密码
export function resetPwd(password,id) {
  return request({
    url: `/wx/user/resetPwd/${password}/${id}`,
    method: "get",
  });
}
